{if $bOnline}
{foreach name=cOnl from=$aOnline item=aItem}
{$smarty.foreach.cOnl.iteration}. <a href="javascript:void(0);" 
            onclick="javascript:opener.window.location=opener.window.location.href='{url link=public.user name=$aItem.user1}';return false;">{$aItem.user1}</a> -  
    <a class="link_action" href="{url link=public.account.chat chatId=$aItem.id approve=1}">[ {language text="chat_now"} ]</a>
    &nbsp;
    <a class="link_action" href="{url link=public.account.chat chatId=$aItem.id approve=2}">[ {language text="deny"} ]</a>
 <br />
{/foreach}
{/if}
{if $bWaiting}
    <meta http-equiv="refresh" content="2;url={$sUrl}" />
    {language text="please_wait_waiting_for_u"}
    <br /><br />
    <a href="{$sUrl}">[ {language text="refresh"} ]</a>
{/if}
{$jsValMess}
<div style="padding-left: 30px; font-size: 10pt;">{messages}</div>